<template>
  <div id="app">
    <router-view/>
  </div>
</template>

<script>
let htmlSize = document.documentElement.clientWidth || document.body.clientWidth
let dom = document.getElementsByTagName('html')[0]
dom.style.fontSize = htmlSize / 120 + 'px'
window.addEventListener('resize', (e) => {
  let htmlSize = document.documentElement.clientWidth || document.body.clientWidth
  dom.style.fontSize = htmlSize / 120 + 'px'
})
export default {
  name: 'App'
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  height: 100%;
}
html{
  overflow-x: hidden;
  height: 100%;
  z-index: -9;
}
body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-y: hidden;
  }
</style>
